<?php
class AppController extends Controller{
	public $name = 'App';
	
	public function common(){// executes in every controller before the assigned method
		$this->set('test_var', 'variabila de test');
	}
}
?>